public class demo15 {
/*    public boolean CheckPermutation(String s1, String s2) {
        if(s1.length() != s2.length())
            return false;
        char[] c1 = s1.toCharArray();
        char[] c2 = s2.toCharArray();
        Map<Character,Integer> map = new HashMap<>();
        for(int i = 0;i<s1.length();i++)
        {
            map.put(c1[i],map.getOrDefault(c1[i],0)+1);
        }
        for(int i = 0;i<s2.length();i++)
        {
            map.put(c2[i],map.getOrDefault(c2[i],0)-1);
        }
        for(int val:map.values())
        {
            if(val != 0)
                return false;
        }
        return true;
    }*/
}
